package com.yangtzeu.jwc.domain;

import java.io.Serializable;

/**
 * 新闻
 *
 * @author ZhangDI
 */
public class News implements Serializable {
    private static final long serialVersionUID = 1L;
    private String type;
    private String title;
    private String time;
    private String url;
    private String content;

    public News(String type, String title, String time, String url,
                String content) {
        super();
        this.type = type;
        this.title = title;
        this.time = time;
        this.url = url;
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "News [type=" + type + ", title=" + title + ", time=" + time
                + ", url=" + url + ", content=" + content + "]";
    }
}
